package com.xydtech.common.unipush.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class UniPushMessageContent implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 消息接收用户的别名，用作发送消息确定接收设备的别名
     */
    private String receiverAlias;

    /**
     * 发送消息的标题
     */
    private String title;

    /**
     * 发送消息的内容
     */
    private String content;

    /**
     * 发送消息的参数信息
     */
    private Map<String, Object> pushParams;

    /**
     * 无参构造函数
     */
    public UniPushMessageContent() {
        super();
    }

    /**
     * 全参构造函数
     * @param receiverAlias
     * @param title
     * @param content
     * @param pushParams
     */
    public UniPushMessageContent(String receiverAlias, String title, String content, Map<String, Object> pushParams) {
        this.receiverAlias = receiverAlias;
        this.title = title;
        this.content = content;
        this.pushParams = pushParams;
    }
}
